package com.dongdongshop.service.item;

import com.dongdongshop.pojo.item.TbItem;
import com.dongdongshop.pojo.order_item.TbOrderItem;

import java.util.List;

public interface ItemService {
    List<TbItem> listItemByGoodsId(Long goodsId);

    TbItem getItemById(Long itemId);

    void updateToNum(List<TbOrderItem> orderItemList);
}
